package cn.csust.net2.manager.shared.po;

import cn.csust.net2.manager.shared.xml.XmlInfo;
import cn.csust.net2.manager.shared.xml.XmlResources;

/**
 * Voteresult entity. @author MyEclipse Persistence Tools
 */

public class VoteResult extends PO implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long resultId;
	private Vote vote;
	private Long userId;

	private VoteAnswer answer;

	private String stringAnswer;
	private String remark;
	/** default constructor */
	public VoteResult() {
	}

	public VoteResult(Long resultId, Vote vote, Long userId, VoteAnswer answer,
			String stringAnswer, String remark) {
		super();
		this.resultId = resultId;
		this.vote = vote;
		this.userId = userId;
		this.answer = answer;
		this.stringAnswer = stringAnswer;
		this.remark = remark;
	}

	public String getRemark() {
		return this.remark;
	}

	public Long getResultId() {
		return this.resultId;
	}

	public String getStringAnswer() {
		return this.stringAnswer;
	}

	public Long getUserId() {
		return this.userId;
	}

	
	public Vote getVote() {
		return vote;
	}

	

	public VoteAnswer getAnswer() {
		return answer;
	}

	public void setAnswer(VoteAnswer answer) {
		this.answer = answer;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public void setResultId(Long resultId) {
		this.resultId = resultId;
	}

	public void setStringAnswer(String stringAnswer) {
		this.stringAnswer = stringAnswer;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public void setVote(Vote vote) {
		this.vote = vote;
	}

	@Override
	public XmlInfo getXmlInfo(XmlResources instance) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getDisplayName() {
		// TODO Auto-generated method stub
		return null;
	}


}